  package kgmyh.fileupload.to;

import java.util.List;

public class MultiUpFileTO {
	private String fileInfo;
	private List upfile;
	
	public MultiUpFileTO(){}

	public String getFileInfo() {
		return fileInfo;
	}

	public void setFileInfo(String fileInfo) {
		this.fileInfo = fileInfo;
	}

	public List getUpfile() {
		return upfile;
	}

	public void setUpfile(List upfile) {
		this.upfile = upfile;
	}

	@Override
	public String toString() {
		return "MultiUpFileTO [fileInfo=" + fileInfo + ", upfile=" + upfile
				+ "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((fileInfo == null) ? 0 : fileInfo.hashCode());
		result = prime * result + ((upfile == null) ? 0 : upfile.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MultiUpFileTO other = (MultiUpFileTO) obj;
		if (fileInfo == null) {
			if (other.fileInfo != null)
				return false;
		} else if (!fileInfo.equals(other.fileInfo))
			return false;
		if (upfile == null) {
			if (other.upfile != null)
				return false;
		} else if (!upfile.equals(other.upfile))
			return false;
		return true;
	}

	
	
}
